package com.hakim.wfb.biz;

import com.hakim.wfb.bean.ConsumeRule;
import com.hakim.wfb.dao.ConsumeRuleDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/7/1.
 */
@Service("consumeRuleBiz")
public class ConsumeRuleBiz {

    @Autowired
    private ConsumeRuleDao consumeRuleDao;

    public ConsumeRule getConsumeRule(String tid) {
        return consumeRuleDao.getById(tid);
    }
}
